<?php 
namespace  ucenter;

use Yii;

class Module extends \yii\base\Module{

    /**
     * {@inheritdoc}
     */
    public $controllerNamespace = 'ucenter';

    /**
     * {@inheritdoc}
     */
    public function init()
    {
        $applicationId = defined('APPLICATION_ID') ? APPLICATION_ID : Yii::$app->id;
        $this->controllerNamespace = $this->controllerNamespace . '\\' . $applicationId . '\\controllers';
        parent::init();
    }
}
?>